//
//  RocNavigationController.m
//  RocRemoteControlProject
//
//  Created by 新致李照鹏 on 2018/12/25.
//  Copyright © 2018年 Roc. All rights reserved.
//

#import "RocNavigationController.h"

@implementation RocNavigationController

//支持旋转
-(BOOL)shouldAutorotate{
    return [self.topViewController shouldAutorotate];
}
//支持的方向
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
    return [self.topViewController supportedInterfaceOrientations];
}
//一开始的方向  很重要
-(UIInterfaceOrientation)preferredInterfaceOrientationForPresentation{
    return [self.topViewController preferredInterfaceOrientationForPresentation];
}

@end
